﻿<%@ Page Title="经纪人管理" Language="C#" MasterPageFile="~/manage/NestedMasterPage1.master" AutoEventWireup="true" CodeBehind="Broker.aspx.cs" Inherits="map.manage.broker" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server">
<link href="../Stylesheet1.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
<div id="contentdiv">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    
        <ContentTemplate>
     <%--   <input id="Checkbox1" type="checkbox" checked="true"/>--%>

        县:<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList1_SelectedIndexChanged">
            </asp:DropDownList>
        地区:<asp:DropDownList ID="DropDownList2" runat="server" AutoPostBack="True" 
                onselectedindexchanged="DropDownList2_SelectedIndexChanged">
            </asp:DropDownList>
            <%-- 区域:<asp:DropDownList ID="DropDownList3" runat="server" AutoPostBack="True" onselectedindexchanged="DropDownList3_SelectedIndexChanged" 
                >
            </asp:DropDownList>--%>
           
            <br />
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            Width="590px" DataKeyNames="RECID" 
                CellPadding="4" ForeColor="#333333" GridLines="None" 
                onrowdeleting="GridView1_RowDeleting" 
                BorderWidth="1px" onrowediting="GridView1_RowEditing">
                <RowStyle BackColor="#EFF3FB" />
                <Columns>                    
                  <asp:BoundField DataField="RECID" HeaderText="RECID" Visible="False" />
                    <asp:BoundField DataField="cbuserid" HeaderText="用户名" HeaderStyle-HorizontalAlign="Center">
                      <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                     
                    
                   <%-- <asp:BoundField DataField="IsConfirmed"  HeaderText="是否通过" ItemStyle-HorizontalAlign="Center" />--%>
                    <asp:TemplateField>
                    <HeaderTemplate>
                    状态
                    </HeaderTemplate>
                    <HeaderStyle HorizontalAlign="Center" />
                    <ItemTemplate>
                    <%#(Eval("BokerStatus").ToString() == "0" ? "没有申请" : (Eval("BokerStatus").ToString() == "1"?"未通过":"已通过"))%>
                    
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    
                    
                    
                    <asp:CommandField EditText="确认" HeaderText="通过" SelectText="" 
                        ShowEditButton="True" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                </Columns>
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <EmptyDataTemplate>
                    无申请数据
                </EmptyDataTemplate>
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#2461BF" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
      </ContentTemplate>
    </asp:UpdatePanel> 
    </div>
</asp:Content>
